using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 食谱成分仓储接口
    /// </summary>
    public interface IRecipeIngredientRepository : IRepository<RecipeIngredient>
    {
        Task<IEnumerable<RecipeIngredient>> GetByRecipeIdAsync(Guid recipeId);
        Task<IEnumerable<RecipeIngredient>> GetByIngredientNameAsync(string ingredientName);
    }
}